package ClassData;

import ClassData.Visitor.IVisitor;
import ClassData.Visitor.IVisitorElement;

/**
 * 
 * 
 */
public class ConstantPoolInfo implements IVisitorElement {

	public static final int CONSTANT_Class  				= 7;
	public static final int CONSTANT_Fieldref 				= 9;
	public static final int CONSTANT_Methodref				= 10;
	public static final int CONSTANT_InterfaceMethodref 	= 11;
	public static final int CONSTANT_String					= 8;
	public static final int CONSTANT_Integer 				= 3;
	public static final int CONSTANT_Float					= 4;
	public static final int CONSTANT_Long					= 5;
	public static final int CONSTANT_Double					= 6;
	public static final int CONSTANT_NameAndType			= 12;
	public static final int CONSTANT_Utf8					= 1;

	/**
	 * returns type of this constant pool entry
	 */	
	public int getType() {
		return(0);
	}

	@Override
	public void receive_Visitor(IVisitor visitor) {
		visitor.visit_ConstantPoolInfo(this);
	}
	
}